home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / wcs.max < prev    next >
Text File  |  1979-12-31  |  2KB  |  55 lines

  1. # wcs.max
  2. #
  3. # This is part of the flight simulator 'fly8'.
  4. # Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  5.  
  6. # Example of button usage. Let us define the trigger (button 0) as the
  7. # 'fire' function:
  8.  
  9. Def Btn 0    F1
  10.  
  11. # we should use the 'd=0' in the stick options so that this button
  12. # will produce a repeating action, so you don't have to press/release
  13. # for each shot. Now let us define the second button as the radar lock
  14. # release:
  15.  
  16. Def Btn 1    Sp
  17.  
  18. # If we have 4 buttons on the main stick then we can use them, like this:
  19.  
  20. Def Btn 2    w        # toggle weapon
  21. Def Btn 3    f        # toggle radar acquisition mode
  22.  
  23. # If we have a 'hat' then we can use it for view control, like:
  24.  
  25. Def Btn 4    Up Up Up Up Up
  26. Def Brl 4    *
  27. Def Btn 5    Right Right Right Right Right
  28. Def Brl 5    *
  29. Def Btn 6    Down Down Down Down Down
  30. Def Brl 6    *
  31. Def Btn 7    Left Left Left Left Left
  32. Def Brl 7    *
  33.  
  34. # now let's use some WCS buttons:
  35.  
  36. Def Btn c    v        # index        toggle view
  37. Def Btn d    F5        # thumb high    zoom in
  38. Def Btn e    F6        # thumb low    zoom out
  39. Def Btn f    +        # thumb near    hold speed brakes
  40. Def Brl f    +
  41.  
  42. # Note how button f engages the speed brakes on press but then retracts
  43. # them on release. You must define this button to have a release function
  44. # (the default). You may also want buttons 4 and 6 to have continuous
  45. # operation. In summary, the pointer options should be ':d=046'.
  46.  
  47. # In practice it is safe to leave ALL buttons for 'release' action
  48. # since undefined keys will be ignores. However it is wastefull
  49. # to make a key continuous ('d=...') when it is not needed.
  50.  
  51. # Note how a button can be seen by Fly8 directly through the joystick port
  52. # or indirectly through the keyboard (using the WCS). This file does not
  53. # depend on which way this happens. You should program the WCS with the
  54. # fly8.adv file so that the correct generic key sequences are used.
  55.